<template></template>

<script>
export default {
  beforeCreate() {
    const { params, query } = this.$route; //获取查询参数信息
    const { path } = params; //获取path参数
    this.$router.replace({ path:path, query }); //重新跳转到原来的路由
  },
};
</script>
